Edit Task: ResourceFormula
Description
The ResourceFormula attribute under EditTask defines the resources that this task uses.
Parameters
Parameter | Description |
---|---|
CreateSTKAccessReport | Options are "ExcludeSpaceToSpace", "TRUE", or "FALSE". If True is selected, then for each possibility, the default STK access report will be created and applied to that possibility for timeslot creation.
If ExcludeSpaceToSpace is selected, STK access reports between space objects will be excluded during timeslot creation. |
Formula |
A string of text of the entire formula. Each resource name must be enclosed in quotes. (ex. '"ResourceName" AND "ResourceNameB" AND ("ResourceNameC" OR "ResourceNameD")') Resource tags are to be enclosed in square brackets. Different constraints are started with a # symbol and are described in more detail below. If no # is used the tag will default to a 1of constraint. For more info on constraint types see Resource Tag Constraint Editor.
|
RetainSettings | Optional boolean determining whether previous resouce usage definition values will be retained when creating possibilities |
Examples
Allow a task to use either ResA or ResB.
PATCH api/task/TaskA
Body:
{
"ResourceFormula" : {
"Formula" : ""ResA" OR "ResB""
}